//
//  GlobalModel.m
//  JsUtilityDemo
//
//  Created by Gikki Ares on 2021/8/5.
//

#import "GlobalModel.h"

@implementation GlobalModel

static GlobalModel * _sharedInstance;
+ (GlobalModel *) sharedInstance {
	static dispatch_once_t onceToken;
	dispatch_once(&onceToken,^{
		_sharedInstance = [[GlobalModel alloc] init];
	});
	return _sharedInstance;
}

- (instancetype)init {
	if(self = [super init]) {
		self.placeholderImage = [UIImage imageNamed:@"placeholder.jpg"];
	}
	return self;
}

@end
